package fun.codedesign.eclipse.jdt;

public interface CodeExample {
    String EXAMPLE1 = "package fun.codedesign.ast.dom;\n" +
            "\n" +
            "public class PrintVisitor implements Visitor {\n" +
            "    @Override\n" +
            "    public boolean visit(ExpressionNode node) {\n" +
            "        System.out.println(\"visit expressionNode\");\n" +
            "        return false;\n" +
            "    }\n" +
            "\n" +
            "    @Override\n" +
            "    public boolean visit(StatementNode node) {\n" +
            "        System.out.println(\"visit statementNode\");\n" +
            "        return false;\n" +
            "    }\n" +
            "}\n";
}
